package day06;

import java.util.Arrays;
import java.util.Random;

public class WayPractice {
    public static void main(String[] args) {
        say();
        sayHi(5);
        sayHello(3, 5);
        int i = getNum();
        System.out.println(i);
        int i1 = plus(23, 55);
        int[] arr = testArray(9);
        System.out.println(Arrays.toString(arr));
    }

    public static void say() {
        return;
    }

    public static void sayHi(int num) {

    }

    public static void sayHello(int num1, int num2) {

    }

    public static int getNum() {
        return -1;
    }

    public static int plus(int num1, int num2) {
        int sum = num1 + num2;
        return sum;
    }

    public static int[] testArray(int num) {
        int[] arr = new int[num];
        Random r = new Random();
        for (int i1 = 0; i1 < arr.length - 1; i1++) {
            int i = r.nextInt(100);
            arr[i1] = i;
        }
        return arr;
    }
}
